<iframe id="druidIFrame" src="/druid/index" frameborder="0"></iframe>

<script type="text/javascript">
    $(document).ready(function(){
        //高度设置
        var height = $(window).height();
        $('#druidIFrame').height(height);
    })
    function changeFrameHeight(){
        var ifm= document.getElementById("myiframe");
        $('#druidIFrame').height($(window).height());
    }
    window.onresize=function(){
        changeFrameHeight();
    }
</script>